package com.kk.builder;

/**
 * 建造者模式
 * 抽象建造者
 *
 * @author 王志强
 * @date 2021-12-14
 */
public abstract class HouseBuilder {

    protected House house = new House();

    /**
     * 打地基
     */
    public abstract void basicBuild();

    /**
     * 砌墙
     */
    public abstract void wallBuild();

    /**
     * 封顶
     */
    public abstract void roofBuild();

    public House builderHouse() {
        return house;
    }

}
